package io.shdxhl.simplerpc.client;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Slf4j
@Configuration
public class SimpleBootstrap {
    @Resource
    private SimpleClientRunner simpleClientRunner;

    @PostConstruct
    public void init() {
        System.out.println("SimpleBootstrap init");
        simpleClientRunner.run();
    }
}
